function showInfo(s) {
    if (s.length) {
        return s.length;
    }
    else {
        return s;
    }
}
console.log(showInfo('11444'));
console.log(showInfo(11444));
